package com.example.logback.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class UserController {
    public static final Logger log = LoggerFactory.getLogger(UserController.class);

    public String logTest(){
        log.info("记录日志，访问啦");
        return "hello logback";
    }
}
